<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>index01</title>
    <script type="text/javascript" src="./index01.js"></script>
</head>
<body>
    <input type="button" value="按钮1" onclick="alert('哈哈')"/>
    <script type="text/javascript">
        alert("嘿嘿");
    </script>
</body>
</html>